import axios from "./axios"

const comment = {
    publish: (data) => {
        return axios({
            method: 'post',
            url: '/comment/publish',
            data: data
        })
    },
    getList: (params) => {
        return axios({
            method: 'get',
            url: '/comment/list',
            params: params
        })
    }
}

export default comment